<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'admin_cmpinfo_e.jsp' starting page</title>
    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css" href="<%=basePath%>css/bootstrap.css">
	<script type="text/javascript" src="<%=basePath%>js/bootstrap.js"></script>


  </head>
  
  <body>
  <%
  	String unitid=(String)session.getAttribute("cmpid");
  	String unitname=(String)session.getAttribute("cmpname");
   %>
    <div style="width:400px;margin:auto;overflow:auto;float:middle" class="table-responsive">
    	<form name="fcmp" action="<%=basePath%>servlet/EditCmpServlet" method="post">
    		<table width="1500px" border="0" class="table table-bordered table-hover">
    		<caption><h3>用户信息</h3></caption>
    		
    			<tr>
    			<input name="unitid" type="hidden" value="<%=unitid %>"></input>
    				<td class="success" width="30%">部门名称
    				</td>
    				<td>
    				<input name="unitname" type="text" value="<%=unitname %>"/>
    				</td>
    			</tr>
    		</table>
    		<button style="button;float:right;margin-right:30px" class="btn btn-primary" onclick="submit">提交</button>
    	</form>
    </div>
  </body>
</html>
